package com.gaomall.seckill.validator;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class UserForm {

    @NotEmpty( message  =   "姓名必填" )
    private String name ;

    @NotEmpty ( message  =   "手机号必填" )
    private String phone;

}
